﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(DetectIntentRecord))]
    public class DetectIntentRecordCreateDto
    {
        [Required]
        public Guid Id { get; set; }
        [Required]
        public int SiteId { get; set; }
        [Required]
        public Guid BotId { get; set; }
        [Required]
        [MaxLength(DetectIntentRecordStringLength.MaxLength_UserQuestion)]
        public string UserQuestion { get; set; }
        [Required]
        [MaxLength(DetectIntentRecordStringLength.MaxLength_Channel)]
        public string Channel { get; set; }
        [Required]
        public Guid SessionId { get; set; }
        public Guid? IntentId { get; set; }
        [Required]
        public decimal Score { get; set; }
        [Required]
        public Guid AccountId { get; set; }
        [Required]
        public int AnswerType { get; set; }
        [Required]
        public int RateType { get; set; }
        [Required]
        public int SourceType { get; set; }
        [Required]
        public DateTime CreatedTime { get; set; }
    }
}
